cmake_minimum_required(VERSION 2.8)

PROJECT( output )

FIND_PACKAGE( OpenCV REQUIRED )

ADD_LIBRARY( bezier bezier.cpp ) 
ADD_EXECUTABLE( main main.cpp )

TARGET_LINK_LIBRARIES( main bezier )
TARGET_LINK_LIBRARIES( main ${OpenCV_LIBS} )
